package com.werewolf;

import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;

import android.content.Context;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListAdapter;
import android.widget.ListView;
import android.widget.SimpleAdapter;
import android.widget.Toast;
import android.widget.AdapterView.OnItemClickListener;

public class Deck 
{

	private static final String TAG = "DeckClass";
	private List<Card> DeckContents;
	
	/**
	 * 
	 * @param Filename
	 */
	
	public Deck() 
	{
		
		
	}
	
	
	public Deck(Context ctx)
	{
		ArrayList<HashMap<String,String>> mylist = new ArrayList<HashMap<String, String>>();

		/*
		Document doc = XMLData(XMLString);

		int numResults = numResults(doc);

		if(numResults <= 0)
		{
			Toast.makeText(UltimateWerewolfActivity.this, "No results Found", Toast.LENGTH_LONG).show();
			finish();
		}

		NodeList nodes = doc.getElementsByTagName("Card");

		HashMap<String, String> map;
		for(int i = 0; i < nodes.getLength(); i++)
		{
			map = new HashMap<String, String>();
			Element e = (Element)nodes.item(i);
			map.put("RoleName", getValue(e, "RoleName"));
			map.put("RoleText", getValue(e, "RoleText"));
			map.put("RoleValue", getValue(e, "RoleValue"));
			mylist.add(map);
			map = null;
		}
		*/
		

		
	}

}
